<?php
error_reporting(0);
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es" dir="ltr">
  <head>
    <title>PowerLaptops</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="default.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-base.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-topbar.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-sidebar.css" />
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="ddlevelsfiles/ddlevelsmenu.js">
    /***********************************************
    * All Levels Navigational Menu- (c) Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    </script>
  </head>
  <body>
    <noscript><p>Tu navegador no tiene activado javascript.</p></noscript>
    <div id="wrapper">
      <div id="header">
    		<div id = "publicidadLado">
          <img  src="images/static/contactenos_def.jpg" align="left"></img>
        </div>
        <img  src="images/static/envios_nacionales2.png" align="right"></img>
        <img src="images/static/pagos_seguros.png" align="right"></img>
	      </div>
      <div id="menu">
      	<div id = "logo">
          <img src="images/logo2.jpg" align="left" width = 225 height = 50></img>
        </div>
      	<div id = "barra">
	        <br>
          <br>
          <table>
            <td>
              <a href="index.php" >Inicio</a>
            </td>
            <td>
              <a href="catalogo.php">Cat&aacute;logo</a>
            </td>
            <?php if($_SESSION["tipo"]==1){?>
              <td>
                <a href="editarSimple.php">Edici&oacute;n de Productos </a>
              </td>
              <td>
                <a href="admin.php">Administraci&oacute;n</a>
              </td>
            <? }else if ($_SESSION["autenticado"]==1){?>
            <?} ?>
          </table>
      	</div>
      </div>